package com.kinghood.productcenter.dao.base;

import com.kinghood.productcenter.common.model.dao.base.BaseProductTemplateGitemDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kinghood.productcenter.common.model.dto.product.ProductTemplateNodeAttributeDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author KingHood
 * @since 2023-12-20
 */
public interface BaseProductTemplateGitemMapper extends BaseMapper<BaseProductTemplateGitemDO> {

    /**
     * 获取分组属性
     *
     * @param groupIdList 分组id
     * @return 分组属性
     * @author zfj
     * @date 2024/1/3
     */
    List<ProductTemplateNodeAttributeDTO> getInfoByGroupId(@Param("groupIdList") List<Long> groupIdList);
}
